import matplotlib.pyplot as plt


x_values = list(range(1, 6))
print(x_values)
y_values = [x*x*x for x in x_values]
print(max(y_values))

plt.scatter(x_values, y_values, c='red', s=40, edgecolors=None)

plt.title('ex1', fontsize=18)
plt.xlabel('x', fontsize=14)
plt.ylabel('x', fontsize=14)

plt.axis([0,len(x_values) + 1, 0, max(y_values)])

plt.savefig('ex1.png', bbox_inches='tight')

plt.show()